export const NavConfig = [
  { text: 'Home', link: '/' },
  {
    text: '模版',
    link: '/template',
    items: [
      { text: 'Vue测试页面', link: '/template/index' },
    ]
  },
  // 可指定链接跳转模式：默认target: '_blank'新窗口打开，_self当前窗口打开
  {
    text: '文档',
    link: '/document',
    items: [
      { text: 'Vue3', link: '/document/vue3' },
      { text: 'Vue工具', link: '/document/vue-plugins' },
      {
        text: 'Typescript',
        items: [
          { text: '初遇', link: '/document/typescript/ts-01' }
        ]
      }
    ]
  },
  {
    text: '资源',
    link: '/resource',
    items: [
      { text: 'jsp-300', link: '/resource/jsp-300' },
      { text: '知识图谱', link: '/resource/knowledge' },
      { text: '学习网站', link: '/resource/learnweb' }
    ]
  },
  // 支持嵌套,形成下拉式的导航菜单
  {
    text: '语言',
    ariaLabel: 'Language Menu',
    items: [
      { text: '中文', link: '/language/chinese/' },
      { text: '英文', link: '/language/english/' }
    ]
  },
  {
    text: '前端组件文档',
    link: '/tyndall',
    items: [
      { text: 'Description', link: '/tyndall/Description-字段详情描述' },
      { text: 'Drawer', link: '/tyndall/Drawer-抽屉侧边栏弹窗' },
      { text: 'Form', link: '/tyndall/Form-表单组件' },
      { text: 'Modal', link: '/tyndall/Modal-弹窗组件' },
      { text: 'OSS上传', link: '/tyndall/OSS上传' },
      { text: 'Table', link: '/tyndall/Table-表格组件' },
      { text: 'Tinymce', link: '/tyndall/Tinymce-富文本组件' },
      { text: 'Tree', link: '/tyndall/Tree-树状组件' },
      { text: 'Upload', link: '/tyndall/Upload-文件上传组件' }
    ]
  }
]